package serviceImpl;

import bean.PublicWelfareDonation;
import mapper.PublicWelfareDonationMapper;
import org.springframework.stereotype.Service;
import service.Article_Management_Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Article_Management_ServiceImpl implements Article_Management_Service {

    @Resource
    private PublicWelfareDonationMapper publicWelfareDonationMapper;

    //查询所有的公益捐文章
    @Override
    public List<PublicWelfareDonation> all() {
        return publicWelfareDonationMapper.selectarticleall();
    }
}
